package com.aphrodite.io.sip.provider;

/**
 * DialogIdentifier is used to address specific dialogs to the SipProvider.
 */
public final class DialogIdentifier extends Identifier {
	/** Costructs a new DialogIdentifier. */
	public DialogIdentifier(DialogIdentifier i) {
		super(i);
	}

	/**
	 * Costructs a new DialogIdentifier based on call-id, local and remote tags.
	 */
	public DialogIdentifier(String call_id, String local_tag, String remote_tag) {
		id = call_id + "-" + local_tag + "-" + remote_tag;
	}
}
